# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
pkgname=speakup-utils
pkgver=3.1.6
pkgrel=2
pkgdesc='Tiny utilities for controlling the Speakup screenreader'
arch=(any)
url="http://linux-speakup.org/"
license=('GPL2')
source=("ftp://linux-speakup.org/pub/speakup/speakup-$pkgver.tar.bz2")
md5sums=('d5698267098f63ea166e06c0bd769a03')
depends=(sh)

package() {
  cd "$srcdir/speakup-$pkgver/tools"
  install -D -m755 speakupconf "$pkgdir/usr/bin/speakupconf"
  install -D -m755 talkwith "$pkgdir/usr/sbin/talkwith"
  cd ../man
  install -D -m644 speakupconf.1 "$pkgdir/usr/share/man/man1/speakupconf.1"
  install -D -m644 talkwith.1 "$pkgdir/usr/share/man/man1/talkwith.1"
}
